<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			.btn{
           	width: 120px;
           	height: 30px;
           	border: none;
           	outline: none;
           }
           .btn:active{
           	cursor: pointer;
           	transform: translateY(2px);
           }
		</style>
	</head>
	<body>
		<button class="btn" onclick="eval_onclick()" >点击触发eval事件</button>
		
		
		
		<script src="js/jquery-1.11.1.min.js" type="text/javascript"></script>
		<script type="text/javascript">
			function eval_onclick(){
				var data = 1;
				var result = eval("("+data+")");
				console.log(typeof(result));
				
			}
		</script>
	</body>
</html>
